package com.bonjour.work.dao;

import org.apache.ibatis.annotations.Param;

import com.bonjour.work.entity.UserEntity;

public interface UserDao {
	int insert(@Param("user") UserEntity user);
	
	UserEntity getUserById(@Param("id") Long userId);

	void update(UserEntity u);

	int userCount(@Param("email") String email, @Param("userName") String userName);
	
	UserEntity selectUser(@Param("email")String email, @Param("userName")String userName);

}
